<?php
/**
 * User: ailuoga
 * Created Time: 2017/2/4 17:35
 * Description :
 */

namespace App\Http\ViewComposers;


use Illuminate\View\View;

class ProfileComposer
{

    public function compose(View $view){
        $view->with('married',random_int(0,1));
        $view->with('test','say hi');
    }
//    public function create(View $view){
//        $view->with('married',random_int(0,1));
//        $view->with('test','say hi');
//
//    }

}